#include "LinearLayer.h"

using namespace NeuralPlusPlus::Core;
using namespace NeuralPlusPlus::Core::Backpropagation;

double NeuralPlusPlus::Core::Backpropagation::LinearLayer::Derivative( double input, double output )
	{
	return 1;
	}

double NeuralPlusPlus::Core::Backpropagation::LinearLayer::Activate( double input, double previousOutput )
	{
	return input;
	}

NeuralPlusPlus::Core::Backpropagation::LinearLayer::LinearLayer( int neuronCount ) : ActivationLayer(neuronCount)
	{
	this->UseFixedBiasValues = true;
	}